from django.contrib import admin
from .models import *
# Register your models here.

class BusinessAdmin(admin.ModelAdmin):
    fields = ['name', 'cn_name', 'comment']

class ProjectAdmin(admin.ModelAdmin):
    fields = ['name', 'cn_name', 'project', 'comment']

class ServiceAdmin(admin.ModelAdmin):
    fields = ['name', 'cn_name', 'project', 'module', 'comment']


admin.site.register(Business, BusinessAdmin)
admin.site.register(Project, ProjectAdmin)
admin.site.register(Service, ServiceAdmin)